#if($user)
	<table class="index1">
		<tr>
			<td colspan="2">
				欢迎访问金客会论坛
				[ <a href="/bbs/bbsuser.do?parameter=control">控制面板</a> ]
				[ <a href="/bbs/bbsuser.do?parameter=logout" onClick="return confirm('您真的注销登录信息吗？');">退出</a> ]
			</td>
		</tr>
		<tr>
			<td width="50%">
				<table cellpadding="0" cellspacing="0" border="0" width="98%">
					<tr>
						<td>
						#if($user.photo)
						<img src="$!user.photo" align="absmiddle" onload="javascript:if(this.width>120)this.width=120" />
						#else
                       	<img src="skin/gold/images/headlogo/default.jpg" align="absmiddle" onload="javascript:if(this.width>120)this.width=120" />
						#end<br/>
						<a href="/bbs/bbsuser.do?parameter=control"><strong style="display:block;width:80px;text-align:center;font-size:16px;">$!user.username</strong></a>
						</td>
						<td>
                      	<p>
                      		:: <a href="/bbs/bbsfriends.do?parameter=list"><font color=red>我的好友</font></a> 
                      		:: <a href="/bbs/bbsdoc.do?parameter=myList&user=$!HtmlUtil.encodeUrl($!user.username)"><font color=red>我的话题</a></font><br>
                      		:: <a href="/bbs/bbsdoc.do?parameter=myList&topic=1&user=$!HtmlUtil.encodeUrl($!user.username)"><font color=red>我的主题</font></a> 
                      		:: <a href="/bbs/bbscollections.do?parameter=list"><font color=red>我的收藏</font></a>
                      	</p>
						</td>
					</tr>
				</table>
			</td>
			<td width="50%">
						<p class="first">RSS<a href="/bbs/bbsdoc.do?parameter=rss"><img src="skin/gold/images/public/xml.jpg" alt="" /></a></p>
						<p>
							共有<span class="red">$!totalMember</span>位会员<br />
							今日发贴：<span class="red">$!todayNum</span>篇&nbsp;&nbsp;主题总数：$!totalTopicNum篇<br />
							昨日发贴：<span class="red">$!yesterdayNum</span>篇&nbsp;&nbsp;贴子总数：$!totalNum篇<br />
							新进来宾：
							#foreach($info in $newMembers) 
		                    <a href="/bbs/bbsuser.do?parameter=show&user=$!info.username"><span class="red">$!info.username </span></a>
							#end
						</p>
			</td>
		</tr>
	</table>
#else
	<table class="index1">
				<tr>
					<th colspan="2">欢迎您访问金客会论坛，您还没有 [ <a href="http://club.jrjkg.com.cn:8080/type.do?tid=2806085513159392">注册</a> ] 或 [ <a href="/bbs/bbsuser.do">登录</a> ] </th>
				</tr>
				<tr>
					<td width="50%">
						<form action="/bbs/bbsuser.do" method="post">
							<input type="hidden" name="parameter" value="login" />
							<dl>
								<dt class="hack1"><label for="userid">用户ID：</label></dt>
								<dd><input type="text" name="username" class="normal" id="userid" /></dd>
								<div class="clear"></div>
							</dl>
							<dl>
								<dt><label for="password">密<span class="hide">空</span>码：</label></dt>
								<dd><input type="password" name="password" class="normal" id="password" /></dd>
								<div class="clear"></div>
							</dl>
							<dl>
								<dt style="line-height:30px;"><label for="verif">验证码：</label></dt>
								<dd><input type="text" name="randomCode" size="6" class="normal" id="verif" /></dd>
								<dd><img border="0" src="/bbs/randomCode.do"></dd>
								<dd><input type="submit" name="submit" class="s" value="" /></dd>
								<dd><a href="/bbs/bbsmail.do?parameter=find" class="forget">忘记密码？</a></dd>
								<div class="clear"></div>
							</dl>
							<dl class="last">
								<dt>Cookie有效期：</dt>
								<dd><label><input type="radio" name="cktime" value="31536000"/>一年</label></dd>
								<dd><label><input type="radio" name="cktime" value="2592000"/>一个月</label></dd>
								<dd><label><input type="radio" name="cktime" value="86400"/>一天</label></dd>
								<dd><label><input type="radio" name="cktime" value="3600"/>一小时</label></dd>
								<dd><label><input type="radio" name="cktime" value="0" checked="checked" />即时</label></dd>
								<div class="clear"></div>
							</dl>
						</form>
					</td>
					<td width="50%">
						<p class="first">RSS<a href="/bbs/bbsdoc.do?parameter=rss"><img src="skin/gold/images/public/xml.jpg" alt="" /></a></p>
						<p>
							共有<span class="red">$!totalMember</span>位会员<br />
							今日发贴：<span class="red">$!todayNum</span>篇&nbsp;&nbsp;主题总数：$!totalTopicNum篇<br />
							昨日发贴：<span class="red">$!yesterdayNum</span>篇&nbsp;&nbsp;贴子总数：$!totalNum篇<br />
							新进来宾：
							#foreach( $info in $newMembers) 
		                    <a href="/bbs/bbsuser.do?parameter=show&user=$!info.username"><span class="red">$!info.username </span></a>
							#end
						</p>
					</td>
				</tr>
			</table>
#end
